﻿namespace OasisCiq.CommonTypes
{
    using XS;

    /// <summary>
    /// A group of commonly used attributes for internal reuse
    /// </summary>
    public interface IDataQualityGroup
    {
        /// <summary>
        /// This attribute indicates what level of trust can be given to the parent element.
        /// Omit this attribute if the data quality is unknown. If the data quality is known,
        /// the value is "Valid, else "InValid"
        /// </summary>
        DataQualityTypeList DataQualityType { get; set; }

        /// <summary>
        /// Date the data quality is valid from
        /// </summary>
        XSDateTime ValidFrom { get; set; }

        /// <summary>
        /// Date the data quality is valid to
        /// </summary>
        XSDateTime ValidTo { get; set; }
    }
}